package com.dc.ebond3.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * TbSlaveaccount entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbSlaveaccount implements java.io.Serializable {

	// Fields

	private Long id;
	private TbApplication tbApplication;
	private String slavename;
	private String password;
	private String department;
	private Long inuse;
	private String apptag;
	private Set tbAuthorizations = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbSlaveaccount() {
	}

	/** minimal constructor */
	public TbSlaveaccount(String slavename, String password, String department) {
		this.slavename = slavename;
		this.password = password;
		this.department = department;
	}

	/** full constructor */
	public TbSlaveaccount(TbApplication tbApplication, String slavename,
			String password, String department, Long inuse, String apptag,
			Set tbAuthorizations) {
		this.tbApplication = tbApplication;
		this.slavename = slavename;
		this.password = password;
		this.department = department;
		this.inuse = inuse;
		this.apptag = apptag;
		this.tbAuthorizations = tbAuthorizations;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public TbApplication getTbApplication() {
		return this.tbApplication;
	}

	public void setTbApplication(TbApplication tbApplication) {
		this.tbApplication = tbApplication;
	}

	public String getSlavename() {
		return this.slavename;
	}

	public void setSlavename(String slavename) {
		this.slavename = slavename;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public Long getInuse() {
		return this.inuse;
	}

	public void setInuse(Long inuse) {
		this.inuse = inuse;
	}

	public String getApptag() {
		return this.apptag;
	}

	public void setApptag(String apptag) {
		this.apptag = apptag;
	}

	public Set getTbAuthorizations() {
		return this.tbAuthorizations;
	}

	public void setTbAuthorizations(Set tbAuthorizations) {
		this.tbAuthorizations = tbAuthorizations;
	}

}